﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="a_menu.ascx.cs" Inherits="administrator_uc_admin_a_menu" %>
<table cellspacing="1" class="classtable">
    <tr>
        <td class="classtitle" colspan="2">
        THÊM MỚI
        </td>
    </tr>
    <tr>
        <td class="classmessage" colspan="2">
            <asp:Label ID="lblMessage" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            ParentID:</td>
        <td class="classcolright">
            <asp:DropDownList ID="DropdownParentID" runat="server" Width="250px" AppendDataBoundItems="true">
                <asp:ListItem Value="0">---Chọn menu cha---</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Tiêu đề:</td>
        <td class="classcolright">
            <asp:TextBox ID="txtTitle" runat="server" Width="300px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtTitle" ErrorMessage="(*)"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Mô tả:</td>
        <td class="classcolright">
            <asp:TextBox ID="txtDescription" runat="server" Width="300px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Liên kết:</td>
        <td class="classcolright">
            <asp:TextBox ID="txtUrl" runat="server" Width="300px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Vị trí:</td>
        <td class="classcolright">
            <asp:DropDownList ID="DropDownListLocation" runat="server">
                <asp:ListItem Value="1">MenuTop</asp:ListItem>
                <asp:ListItem Selected="True" Value="2">MenuBar</asp:ListItem>
                <asp:ListItem Value="3">MenuSPKM</asp:ListItem>
                <asp:ListItem Value="4">MenuSPMoi</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Target:</td>
        <td class="classcolright">
            <asp:RadioButtonList ID="rdTarget" runat="server" 
                RepeatDirection="Horizontal">
                <asp:ListItem Selected="True" Value="0">_self</asp:ListItem>
                <asp:ListItem Value="1">_blank</asp:ListItem>
            </asp:RadioButtonList>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Thứ tự sắp xếp:</td>
        <td class="classcolright">
            <asp:TextBox ID="txtSortIndex" CssClass="classtextsort" runat="server" Width="80px"></asp:TextBox>
            <asp:RangeValidator ID="RangeValidator1" runat="server" 
                ControlToValidate="txtSortIndex" ErrorMessage="(0-&gt;1000)" 
                MaximumValue="1000" MinimumValue="0" Type="Integer"></asp:RangeValidator>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Hiển thị:</td>
        <td class="classcolright">
            <asp:RadioButtonList ID="rdActive" runat="server" 
                RepeatDirection="Horizontal">
                <asp:ListItem Selected="True" Value="1">Có</asp:ListItem>
                <asp:ListItem Value="0">Không</asp:ListItem>
            </asp:RadioButtonList>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            &nbsp;</td>
        <td class="classcolright">
            <asp:LinkButton ID="lbtAddNewItem" runat="server" onclick="lbtAddNewItem_Click">
            <img src="../images/icons/icon_add.gif" border="0px" /> <b>Thêm Mới</b>
            </asp:LinkButton>
            ||
            <asp:LinkButton ID="lbtCloseForm" runat="server" 
                OnClientClick="javascript:CloseWindows();" CausesValidation="False">
            <img src="../images/icons/icon_close.jpg" border="0px" /><b>Đóng Lại</b>
            </asp:LinkButton>
         </td>
    </tr>
</table>

